package com.suncreate.radarscan.dao;

import java.util.List;
import java.util.Map;

import com.suncreate.radarscan.entity.RadarLaneEntity;

public interface RadarLaneEntityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RadarLaneEntity record);

    int insertSelective(RadarLaneEntity record);

    RadarLaneEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RadarLaneEntity record);

    int updateByPrimaryKey(RadarLaneEntity record);
    
    List<RadarLaneEntity> selectAllLaneByRadarId(int radarId);
    
    double getMaxSpeedLimit(int radarId);
    
    List<Map<String,Object>> getMaxSpeedLimitTest(Map<String,Object> map1);
}